<div id="content">
    <div class="left-column text-box">
        <?php include_component( 'jwSocket', 'socket', array( 'id' => 1 ) ); ?>
    </div>

    <div class="right-column text-box form-pad">
    
        <h2><?php echo __('Quick reserve') ?></h2>
        <br/>
        <form action="<?php echo url_for( 'home/index' ) ?>" method="POST" >        
            <table>
            
                <?php
                    sfContext::getInstance()->getUser()->setReferer( $this->getModuleName()."/".$this->getActionName() );
                    echo $step0;
                ?>
            
            </table>
            <input class="green-button right" type="submit" value="Search" />
        </form>
    </div>

    <div class="clear"></div>

    <div ID="lakas-bemutato" >
        <?php $counter = 0; ?>
        <?php foreach( $apartman as $lakas ): ?>
            <a HREF="<?php echo url_for( 'apartment/show?id='.$lakas->getId() ) ?>">
                <div class="lakas-kiskep" style="background: url(<?php echo url_for ('home/getImage?id='.$lakas->getId() ) ?>) center center no-repeat;" />
                    <img src="<?php echo url_for ('home/getPriceBadge?id='.$lakas->getId() ) ?>"/>
    
                </div>
            </a>
        <?php endforeach ?>
    </div>
    <div class = "clear" ></div>
    <center><img class="motivum" src="/images/motivum.gif" name="motivum" width="93" height="24" /></center>
</div>
